﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web.Admin.Member
{
    public partial class detail : PageBase
    {
        string act = string.Empty;
        string id = string.Empty;
        BLL.Members bll = new BLL.Members();
        protected Model.Members model = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            Check("member", "read");

            if (!string.IsNullOrEmpty(Request.QueryString["act"]))
            {
                act = Request.QueryString["act"];
            }
            if (!string.IsNullOrEmpty(Request.QueryString["id"]))
            {
                id = Request.QueryString["id"];
            }
            GetData();
        }

        protected void GetData()
        {
            model = bll.GetModel(int.Parse(id));
        }
    }
}